package su.example.sms.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import su.example.sms.domain.entity.Student;

import java.util.List;

public interface StudentService {

    Student createStudent(Student student);

    Student updateStudent(Student student);

    void deleteStudent(String id);

    List<Student> findAllStudents();

    Student findStudentById(String id);

    Page<Student> queryStudent(Student student, Pageable pageable);
}
